<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title></title>
	<style type="text/css">
		*{
			margin: 0;
			padding: 0;
		}
		div{
			width: 200px;
			height: 280px;
			margin: 50px auto;
			overflow: hidden;
		}
		div img{
			width: 100%;
			height: 100%;
			transition: all 1s;
		}
		div:hover img{
			transform: scale(1.2);
		}
	</style>
</head>
<body>
	<div>
		<img src="../小猫.jpg">
	</div>

</body>
</html>